<%-- 
    Document   : index
    Created on : Oct 10, 2012, 2:44:29 PM
    Author     : Jonatan
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        <script src="http://java.com/js/deployJava.js"></script>
        <script method="GET">
            var attributes = {
                code:       "practica1as.Principal",
                archive:    "Practica1AS.jar",
                width:      700,
                height:     700
            };
            var parameters = {jnlp_href:"launch.jnlp"};
            var version = "1.7";
            deployJava.runApplet(attributes, parameters, version);            
        </script>
    </body>
</html>
